<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="zh-CN">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=7" />
	<link href="http://zdmya.oss-cn-hangzhou.aliyuncs.com/css/base.css?v=2013053002" rel="stylesheet" type="text/css">
	<link href="http://zdmya.oss-cn-hangzhou.aliyuncs.com/css/style.css?v=2013053002" rel="stylesheet" type="text/css">
	<link href="http://zdmya.oss-cn-hangzhou.aliyuncs.com/css/info.css" rel="stylesheet" type="text/css">	
	<#include "include/seo.html"/>	
	<script type='text/javascript' src='http://zdmya.oss-cn-hangzhou.aliyuncs.com/js/jquery.js?ver=1.7.2'></script>
	<script type="text/javascript" src="http://zdmya.oss-cn-hangzhou.aliyuncs.com/js/jquery.lazyload.min.js?v=2013053002"></script>
	<script type="text/javascript" src="http://zdmya.oss-cn-hangzhou.aliyuncs.com/js/jquery.cookie.js"></script>
	<script type="text/javascript" src="http://zdmya.oss-cn-hangzhou.aliyuncs.com/js/site.js?v=2013053002"></script>
</head>
<body >
<#include "include/header.html"/>
<#include "include/left_nav.html"/>
<section> 
    <div class="container">
		<div class="leftInfo">
			<div class="information">
				<span class="nickName"><a title="${user.username}的个人主页" href="http://www.zdmya.com/member/${user.id}/">${user.username}</a></span>
				<span>积分：</span><span>${user.point}</span>
				<span>等级：</span>
				<div title="${user.grade}级" class="rank">
					<#if user.grade gt 0>
						<#if (user.grade/16) gte 1> 
							<#list 1..user.grade/16 as sun>
								<img src="/images/sun.png">
							</#list>
						</#if>
						<#if ((user.grade%16)/4) gte 1> 
							<#list 1..(user.grade%16)/4 as sun>
								<img src="/images/moon.png">
							</#list>
						</#if>
						<#if ((user.grade%16)%4) gte 1> 
							<#list 1..(user.grade%16)%4 as sun>
								<img src="/images/star.png">
							</#list>
						</#if>
					</#if>
				</div>		
				<div class="clear"></div>
			</div>
			<div class="infoTop">
				<div class="infoAvatar">
					<a title="${user.username}的个人主页" href="http://www.zdmya.com/user/info.html">
						<img width="88" height="88" class="avatar avatar-88 photo" title="值得买呀会员:${user.username}" src="<#if user.avatar!="">${user.avatar}<#else>http://zdmya.oss-cn-hangzhou.aliyuncs.com/images/useravatar/userdefault.png</#if>" alt="${user.username}的个人主页">
					</a>
				</div>
				<div class="dataNum borderNone"><span class="number">${jyNum}</span><a href="http://www.zdmya.com/user/jy.html">经验</a></div>
				<div class="dataNum"><span class="number">${contentNum!}</span><a href="http://www.zdmya.com/user/baoliao.html">爆料</a></div>
				<div class="dataNum"><span class="number">${fxNum!}</span><a href="http://www.zdmya.com/user/baoliao.html">发现</a></div>
				<div class="dataNum"><span class="number">${collectionNum!}</span><a href="http://www.zdmya.com/user/collection.html">收藏</a></div>
				<div class="dataNum"><span class="number">${messages.totalItems}</span><a href="http://www.zdmya.com/user/comment.html">评论</a></div>							
			</div>
			<div class="perInfo">
				<div class="infoBlueBox">
					<div class="leftTitle">个人简介</div>
					<div class="rightSide"><a href="http://www.zdmya.com/user/info.html">修改</a></div>
					<div class="clear"></div>			
				</div>
				<div class="infoContent">
					用&nbsp;&nbsp;户&nbsp;名：${user.username}   <p/>
					电子邮件：${user.email}
				</div>
			</div>
			<div class="perInfo">
				<div class="infoBlueBox">
					<div class="leftTitle">我的评论</div>
					<div class="rightSide"><a href="http://www.zdmya.com/user/comment.html">更多<span class="small10">&gt;&gt;</span></a></div>
					<div class="clear"></div>			
				</div>
				<#list messages.result as bean>
				<div class="perMyCommentBox">
					<div class="rightMyComment">
						<div class="myCommentCon">
                         	<div class="myCommentBlock">
                         		<p>
                         			<img width="29px" height="30px" style="margin-top:0px" alt="${bean.content!}" src="${bean.img!}" />
                         			<#if bean.type==1>
                         				<a title="点击查看" href="http://www.zdmya.com/content/${bean.contentId}/#comments" target="_blank">
                         			<#elseif bean.type==2>
                         				<a title="点击查看" href="http://www.zdmya.com/fx/${bean.contentId}/#comments" target="_blank">
                         			<#elseif bean.type==3>
                         				<a title="点击查看" href="http://www.zdmya.com/jy/${bean.contentId}/#comments" target="_blank">
                         			</#if>
                         			${bean.content!}</a>
                         		</p>
                         		<div class="collectDel">
									评论：&nbsp;&nbsp;<@p.smiles  bean.message />								
								</div>
							</div>
                           	<div class="comTime">
                           		${bean.issueTime?string('MM-dd HH:mm')}
                           		<a title="删除" href="/user/deletecomment.html?id=${bean.id}&t=1&p=1">删除</a>
                           	</div>
                           	<div class="clear"></div>
                       	</div>
					</div>
					<div class="clear"></div>				
				</div>
				</#list>				
			</div>
		</div>
		<!--s left -->
		<#include "include/user_right.html"/>
		<!-- E Sidebar -->        <!--e right -->
        <div class="clear"></div>
    </div>
    <!--e container-->    
</section>
<#include "include/footer.html"/>
</body>
</html>